home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
351-375
/
disk_359
/
textplus
/
english
/
txp2.0e.doc
< prev
next >
Wrap
Text File
|
1992-05-06
|
12KB
|
360 lines
*****************************************************************************
* *
* Text Plus V2.0 (c) Copyright 1990 by Martin Steppler *
* *
* Text Plus V2.0 is SHAREWARE. It is freely redistributable, although all *
* rights remain with the author. If you like Text Plus and use it regu- *
* larly, you should send me a donation ($15). This will make you get not *
* only the latest update, but also the sourcecode. *
* Advice for all PD-distributors: *
* Text Plus V2.0 must not be added to a PD-library without my consent. The *
* price must not exceed the costs of disk, package and mailing. *
* *
* Please send bug-reports, suggestions, comments, and MONEY (!!!) to: *
* *
* Martin Steppler *
* Dr.-Danzebrink-Str. 11 *
* D-6400 Fulda, Fed. Rep. of Germany *
* *
*****************************************************************************
CREDITS
First I want to thank JONATHAN POTTER, whose FileRequester (Fish #242) I've
used. He wrote the best and most comfortable filerequester, I've seen so far.
Thanks Jonathan!
CONTENTS
I INSTALLATION
Descrption of menus and their points:
II PROJECT
III EDIT
IV PREFS
V STYLE
VI FIND
VII KEYMAP AND SHORTCUTS
I) INSTALLATION
Text Plus V2.0 (from now on refered to as TP) can be run from both, workbench
and CLI. Starting from CLI allows you to send a filename to TP, which will
be automatically loaded.
Example: Text_Plus_V2.0 df0:example_file.txp
If the start was successful, TP tries to load its configuration-file 'TxP.
Config', and if TP fails to find it in the current directory, TP will search
for it in the 's:'-directory. The configuration-file enables the user to
create a personal environment according to his own requirements, i.e. to
preset the text-width, page-length, tabulators etc. TxP.Config is an ASCII-
file, which can be changed very easily. This is why I think the remarks in
TxP.Config fully suffice for understanding, how to change the settings.
Anyway, TP runs without TxP.Config, too.
II) PROJECT
1) LOAD
After clicking on this menu-point a filerequester pops up, the current
function of which - here: 'Load file' - is displayed in the window-title-bar.
The file requester presents a very easy way to access any file anywhere on
the Amiga. It consists of several different gadgets :
- Directory gadgets which allow you to select a file, drawer or volume
by scrolling through a list and clicking on the one you want, or by
entering your own in a string gadget.
- PARENT gadget allows you to jump back to the parent of the current
directory.
- OKAY gadget which you use to end the requester and accept your
choices. An alternative to this is double clicking on a file name.
- CANCEL gadget which you use to end the requester and reject your
choices.
- RENAME gadget which allows you to rename the currently selected
file.
- DELETE gadget which allows you to delete the currently selected
file.
- MAKE DIR gadget which allows you to make a subdirectory in the
current directory.
To scroll through the lists of files, drawers and volumes you have a slider
which lets you scan quickly through the entries, and an up and down gadget
which allows you to move through the list one entry at a time. When the
requester is first opened, the available volumes are read in, sorted, and
added to the list. The current directory is then searched for files and
subdirectories, which are then sorted. All gadgets are active while the
directories are being read/sorted. The volume list is only updated on disk
changes, however the file and drawer lists are updates whenever you change
directory (or choose a new volume).
After a file has been chosen as described above, TP to loads either an ASCII-
file (letter-mode switched off) or a letter (letter-mode switched on; suffix
'.txp').
2) APPEND FILE
A file will be appended to the end of the already existing file.
3) DELETE FILE
The file will be deleted in memory.
4) SAVE
The file is saved with its current name depending on the letter-mode either
in letter-format or as an ASCII-file. The filerequester won't pop up.
5) SAVE AS ...
After a filename has been chosen, it is saved depending on the letter-mode
either in letter-format or as an ASCII-file.
6) SAVE & QUIT
The file is saved with its current name and then you leave TP.
7) PRINT
A requester appears, in which you can choose one of four print-modes (NLQ,
Pica, Elite or Condensed) and set the pages to be printed, left and right
margin, and the paper-length. Furthermore you can switch on/off the page-
numbering-mode (at the end of every page its number is printed) and the
line-numbering-mode.
At the beginning of every page the user is asked, whether he wants to skip
over the respective page, print it or abort. If an error occurs, you are
requested, whether you want to try again or abort.
8) HELP
Show the keymap.
9) ABOUT
Informations about the author.
10) QUIT
Quit TP without saving changes.
III) EDIT
1) MARK BLOCK
The current position of the cursor determines the beginning and after another
click on MARK BLOCK the end of the block. Now the block-mode is switched on,
which can only be switched off by clicking on 'Delete Mark' or 'Delete
Block'. When switched on only block-operations can be carried out, i. e. new
text cannot be entered.
2) COPY BLOCK
Insert previously defined block at the current position of the cursor.
3) DELETE BLOCK
The marked block is deleted.
4) DELETE MARK
The block-mode is switched off.
5) LOAD BLOCK
An previously selected file is inserted at the current position of the
cursor.
6) SAVE BLOCK
The marked block is saved on disk.
7) PRINT BLOCK
The print-out takes place as described above -> PRINT.
IV) PREFS
1) LENGTH OF PAGE
The new page-length is set which must range from 10 to 72 lines.
2) WIDTH OF TEXT
The width must range from 10 to 255. If a block has been marked, it will
formatted according to the new width.
3) INSERT ON/OFF
The insert-mode is either switched on or off. If switched on the 3 letters
'INS' above the ruler indicate it, and characters are inserted in the already
existing text and don't overwrite the text.
4) LETTER ON/OFF
The letter-mode is either switched on or is displayed above the ruler
(LETTER/ASCII). Every time when a file is loaded or saved the letter-mode
determines whether an ASCII-file or a file in letter-format is loaded or
saved. You can identify a file in letter-format by its suffix '.txp'.
5) AUTO-DIV ON/OFF
Text Plus V2.0 was originally designed to be a German word-processor. Due to
the occurrence of ultra-long words in German a function called Auto-Div which
divides ultra-long words in accordance with German grammar has been provided
in order to decrease the number of ultra-long gaps in the text. Auto-Div
divides English words in accordance with German grammar, too. This is why you
better keep it switched off. If there is someone who wants TP to divide
English words according to English grammar then don't hesitate to send me
first the share and then the rules of English grammar.
If Auto-Div is switched on and if a block is marked and then formatted
(left/right- aligned, centered, justification), words which are too long for
the respective line are divided in order to avoid large gaps. Auto-Div is not
perfect. This is why you should always check the division. Words divided by
TP end with this dash '' and only this dash is accepted by TP in case of
reformatting to indicate a division.
6) GO TO ...
After the string which is to be searched for has been entered, TP is
searching for it at the beginning of every line and only finds the string if
it starts in the first column.
This routine is quite useful for C-programmers, because one can find modules,
e.g. main() , very fast especially in long sourcecodes.
Nach der Eingabe des zu suchenden Strings, sucht TP am linken Textrand jeder
Zeile nach dem jeweiligen String und findet diesen nur, wenn er sich am linken
Rand befindet. Diese Routine ist beim Programmieren in C recht nützlich, weil
man so schnell bestimmte Module in längeren Sourcecodes anspringen kann (z.B.
Gehe zu ... main() { ).
7) GO TO LINE X
TP jumps to line x. This routine, too, is useful for programmers, because
compilers tell the user the line in which an error has occurred.
V) STYLE
1-4) NORMAL, UNDERLINE, BOLD, ITALIC
The new style is set, and if a block has been marked, it is displayed in the
new style.
5-8) LEFT ALIGNED, RIGHT ALIGNED, CENTERED, JUSTIFICATION
The line in which the cursor is located is formatted according to the new
alignment, or if a block has been marked, the block is formatted.
VI) FIND
1-3) FIND, NEXT, PREVIOUS
After the search-string has been entered and found it is displayed in the top
line and the cursor is set to the beginning of the word. NEXT and PREVIOUS
search for the next or previous occurrence of the already entered string.
4-6) REPLACE, NEXT, PREVIOUS
After the search-string and the replace-string have been entered and the
search was successful, the user is asked if he really wants to replace the
found string. NEXT and PREVIOUS search for the next or previous occurrence
of the search-string.
VII) KEYMAP AND SHORTCUTS
1) KEYMAP
CONTROL
-b mark begin/end of block
-c insert block at position of cursor
-v delete mark
-x delete block
-j delete line
-k delete rest of line
-l insert line
-q save and quit
-t display length and end of text
-n/-u style: normal/underline
-o/-p style: bold/italic
-e insert-mode on/off
-r letter-mode on/off
-y auto-div-mode on/off
-a/-s skip to begin/end of text
-d/-f skip to begin of next/previous page
-g/-z go to ... / go to line x
SHIFT-CRSR-UP/DOWN skip to top/bottom of window or 18 lines up/down
SHIFT-CRSR-LFT/RGHT skip to begin/end of line
HELP show keymap
ESC quit without saving changes
2) SHORTCUTS
RIGHT AMIGA
-g load file
-a append file
-d delete file in memory
-o save
-s save as ...
-q save and quit
-p print
-k load block
-m save block
-z print block
-t page-length
-w text-width
-n style: normal
-u underline
-b bold
-i italics
-l alignment: left
-r right
-c centered
-j justification
-f find
-1 "" next
-2 "" previous
-e replace
-3 "" next
-4 "" previous
IS THIS THE END OF THE DOC-FILE! OH, YES!
Keep on using Text Plus V2.0, bye bye and tschuess
11.04.1990 Martin